Finds items with key values in the interval between the specified values.
Namespace:
C1.LiveLinq.Indexing.SearchAssembly: C1.LiveLinq (in C1.LiveLinq.dll)
Syntax
C# |
---|
IndexQuery<T, TKey> FindBetween( TKey min, bool minInclusive, TKey max, bool maxInclusive, Func<TKey, bool> keyPredicate, Order order ) |
Visual Basic |
---|
Function FindBetween ( _ min As TKey, _ minInclusive As Boolean, _ max As TKey, _ maxInclusive As Boolean, _ keyPredicate As Func(Of TKey, Boolean), _ order As Order _ ) As IndexQuery(Of T, TKey) |
Parameters
- min
- Type: TKey
Minimum key value to search for.
- minInclusive
- Type: System..::..Boolean
If true, the result includes items with the minimum key value.
- max
- Type: TKey
Maximum key value to search for.
- maxInclusive
- Type: System..::..Boolean
If true, the result includes items with the maximum key value.
- keyPredicate
- Type: System..::..Func<(Of <(<'TKey, Boolean>)>)>
An optional condition that found items must satisfy.
- order
- Type: C1.LiveLinq..::..Order
Optionally specifies the order of the key values to sort the result (Order.Unordered if sorting is not required).